#ifndef INIFILE_H
#define INIFILE_H

#include <QSettings>


typedef struct ST_OCRCFG
{
    int nCardType;
}ST_OCRCFG;

class CIniFile
{
public:
    CIniFile(QString strFile);
    ~CIniFile();

    ST_OCRCFG GetOcrCfg() { return m_stOcrCfg;}
private:       
    void SetStr(const QString strSection, const QString strKey, const QVariant value);
    QString GetStr(QString strSection, QString strKey);
    int GetInt(QString strSection, QString strKey);

    QSettings* m_pQSetting;
    ST_OCRCFG m_stOcrCfg;
};
#endif // INIFILE_H
